package cn.crex1.xiaomi.pojo;

import java.util.Date;

/**
 * 产品图片表实类，通过共同属性商品id链接对应的商品表
 * 
 * @author Administrator
 *
 */
public class PImage {
	
	private Integer pic_img_id;// 商品图片ID
	
	private Integer product_id;// 商品ID
	
	private String pic_img;// 展示图片
	
	private Integer sort;// 排序
	
	private Integer status;// 状态：1.显示；0.隐藏
	
	private Date create_time;// 创建时间

	public int getPic_img_id() {
		return pic_img_id;
	}

	public void setPic_img_id(int pic_img_id) {
		this.pic_img_id = pic_img_id;
	}

	public int getProduct_id() {
		return product_id;
	}

	public void setProduct_id(int product_id) {
		this.product_id = product_id;
	}

	public String getPic_img() {
		return pic_img;
	}

	public void setPic_img(String pic_img) {
		this.pic_img = pic_img;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	@Override
	public String toString() {
		return "PImage [pic_img_id=" + pic_img_id + ", product_id=" + product_id + ", pic_img=" + pic_img + ", sort=" + sort + ", status=" + status + ", create_time=" + create_time + "]";
	}

}
